package com.st.service;

import com.st.entity.ESAttractions;
import com.st.utils.PageResult;
import org.springframework.stereotype.Service;
import com.st.utils.Result;
import java.util.Map;

@Service
public interface ISearchService {
    //将数据库所有的景点信息同步到索引库
    public Result loadData();

    //景点搜索
    public PageResult<ESAttractions> search(Map searchMap);
}
